message("Prepare CASpp")
#dependancy
already_caspp {

} else {
    CONFIG += already_caspp
    CONFIG += boost_log
    CONFIG += boost_threading
    include("$$myPRIDIR/_boost.pri")

    QMAKE_CXXFLAGS  += -fno-strict-aliasing
    QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unknown-pragmas -fno-strict-aliasing
    CONFIG += warn-on
    CONFIG += more-warn-on
    more-warn-on {
        QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-compare
    }
    myCASPPDIR = "$$myBASEDIR/caspp"

    DEPENDPATH += "$$myCASPPDIR"

    HEADERS += \
               "$$myCASPPDIR"/config.h \
               "$$myCASPPDIR"/models/basics.h \
               "$$myCASPPDIR"/models/dimension.h \
               "$$myCASPPDIR"/models/exception.h \
               "$$myCASPPDIR"/models/index.h \
               "$$myCASPPDIR"/models/various.h \
               "$$myCASPPDIR"/terminals/boolean.h \
               "$$myCASPPDIR"/terminals/string.h \
               "$$myCASPPDIR"/terminals/integer.h \
               "$$myCASPPDIR"/terminals/rational.h \
               "$$myCASPPDIR"/terminals/real.h \
               "$$myCASPPDIR"/terminals/symbol.h \
               "$$myCASPPDIR"/terminals/variable.h \
               "$$myCASPPDIR"/non_terminals/list.h \
               "$$myCASPPDIR"/non_terminals/set.h \
               "$$myCASPPDIR"/non_terminals/vector.h \
               "$$myCASPPDIR"/non_terminals/map.h \
               "$$myCASPPDIR"/non_terminals/function.h \
               "$$myCASPPDIR"/models.h \
               "$$myCASPPDIR"/types.h \
               "$$myCASPPDIR"/node.h \
               "$$myCASPPDIR"/compare.h \
               "$$myCASPPDIR"/caspp.h \

    SOURCES += \
               "$$myCASPPDIR"/_tester.cc \
               "$$myCASPPDIR"/models/basics.cc \
               "$$myCASPPDIR"/models/exception.cc \
               "$$myCASPPDIR"/terminals/boolean.cc \
               "$$myCASPPDIR"/terminals/integer.cc \
               "$$myCASPPDIR"/terminals/rational.cc \
               "$$myCASPPDIR"/terminals/real.cc \
               "$$myCASPPDIR"/terminals/symbol.cc \
               "$$myCASPPDIR"/terminals/variable.cc \
               "$$myCASPPDIR"/non_terminals/list.cc \
               "$$myCASPPDIR"/non_terminals/set.cc \
               "$$myCASPPDIR"/non_terminals/vector.cc \
               "$$myCASPPDIR"/non_terminals/map.cc \
               "$$myCASPPDIR"/non_terminals/function.cc \
               "$$myCASPPDIR"/models/dimension.cc \
               "$$myCASPPDIR"/models.cc \
               "$$myCASPPDIR"/models_templates.cc \
               "$$myCASPPDIR"/types.cc \
               "$$myCASPPDIR"/node.cc \
               "$$myCASPPDIR"/compare.cc \

}
